<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div id="div-1"></div>
<script type="text/javascript">
    var number = localStorage.getItem("number");
    document.getElementById("div-1").innerText = number;
</script>
</body>
</html>